package top.huhuiyu.springboot2.study.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.huhuiyu.springboot2.study.entity.FootballClub;

import java.util.List;

/**
 * 足球俱乐部的dao
 *
 * @author 胡辉煜
 */
@Mapper
public interface FootballClubMapper {
  int add(FootballClub club);
  FootballClub queryByKey(Integer fcid);
  List<FootballClub> query(@Param("order") Integer order, @Param("c") FootballClub club);
  int update(FootballClub club);
  int delete(Integer fcid);

}
